package com.lotter.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.lotter.model.caipiao.CashRecord;

public interface CashRecordMapper extends BaseDao<CashRecord> {
	
	List<CashRecord> findCaipiaoDTOList(@Param("phase")String phase,
			@Param("lastphase")String lastphase,
			@Param("finish_status")Integer finish_status,
			@Param("stop_status")Integer stop_status,
			@Param("execute")Integer execute);
	
	List<String> findMatchIds(@Param("phase")String phase,@Param("lastphase")String lastphase);
	
   
	int updateCashRecordByPhase(@Param("phase")String phase,
			@Param("lastphase")String lastphase,
			@Param("execute")Integer execute);
	
	List<CashRecord>  findDetailsByPhase(String phase);
}
